package com.interview.javabase.reflect;

/**
 * @author: zsg
 * @description:
 * @date: 2019/10/2 21:20
 * @modified:
 */
public class Demo2 {

    static {
        System.out.println("init");
    }

    public Demo2(){
    }

    public static void main(String[] args) throws ClassNotFoundException, IllegalAccessException, InstantiationException {
        Demo2 demo2 = Demo2.class.newInstance();
//        Class<?> aClass = Class.forName("com.interview.javabase.reflect.Demo2");
    }
}
